alert("Create rule error: " + "<%= escape_javascript @result.to_json.html_safe %>");
